{% extends "restos/resto_base.html" %}

{% comment %}
<!--
  Copyright (C) 2010 ZHENG Zhong <http://www.zhengzhong.net/>
  Created on 2010-05-14.
  $Id$
-->
{% endcomment %}

{#________________________________________________________________________________________________#}

{% block html_title %} Delete {{ dish|escape }} :: {{ resto|escape }} {% endblock %}

{#________________________________________________________________________________________________#}

{% block content %}

  {% if resto_access.can_edit %}

    <div class="section">
      <h1>Delete {{ dish|escape }} / {{ resto|escape }} ?</h1>
    </div>

    <div class="section">
      <form class="xl-form" action="." method="POST">
        <div class="field">
          <div class="label">Are you sure you want to delete {{ dish|escape }} ?</div>
          <div class="help-text">This operation cannot be reverted.</div>
        </div>
        <div class="field">
          <input class="button" type="submit" value="Yes, delete it"/>
          &nbsp; or,
          <a href="{% url friday.view_resto resto_id=resto.id %}">
            return to {{ resto|escape }}
          </a>
        </div>
      </form>
    </div>

  {% endif %}

{% endblock %}


